package com.gwgreenway.order.rpc;

import com.gwgreenway.order.rpc.config.FeignSSOConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by Administrator on 2019/4/3.
 */
@FeignClient(name = "goods-sdk", configuration = FeignSSOConfig.class)
@RequestMapping(value = "/resource")
public interface FeignGoodsSdkApi {
    @RequestMapping(value = "/user", method = RequestMethod.GET)
    String createUser();
}
